package com.qys.livesMall.finance.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.finance.model.entity.user.FinanceUserAccount;

import java.math.BigDecimal;
import java.util.List;

public interface FinanceUserAccountDao extends IService<FinanceUserAccount> {

    FinanceUserAccount getByUserId(Long userId);

    List<FinanceUserAccount> getByUserIds(List<Long> userIds);

    FinanceUserAccount getByShopId(Long shopId);

    List<FinanceUserAccount> liatByShopIds(List<Long> shopIds);


    BigDecimal getTotalBalance(Integer userSysType);
}
